package algo.array;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/4/27 9:55
 * @Version 1.0
 */
public class ArrayTest {
    public static void main(String[] args) {
        checkGenericArray();
    }

    private static void checkGenericArray() {
        GenericArray<Integer> array = new GenericArray<Integer>(3);
        array.addLast(1);
        array.addFirst(2);
        array.add(1, 8);
        array.addFirst(2);
        array.remove(4);
        System.out.println(array);
    }
}
